package org.geekbang.thinking.in.spring.dependency.lookup;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.annotation.CommonAnnotationBeanPostProcessor;

/**
 * @author gzh
 * @desc
 * @date 2022/5/6 22:44
 */
public class MyTest {

    public static void main(String[] args) {

        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(MyTest.class);

//        context.refresh();

        CommonAnnotationBeanPostProcessor bean = context.getBean(CommonAnnotationBeanPostProcessor.class);

        System.out.println(bean);

        context.close();
    }
}
